package com.huazi.statistics.client;

import com.huazi.commonutils.CommentResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author shkstart
 * @create 2021-04-01 23:52
 */
@Component
@FeignClient(name="service-ucenter",fallback = UcenterClientFallback.class)
public interface UcenterClient {
    @GetMapping("/educenter/member/countRegister/{day}")
    CommentResult countRegister(@PathVariable(value = "day") String day);
}
